<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Common_main extends CI_Controller {


	public function __construct() {
		session_start();
		parent::__construct();
	}


	public function index(){
		$this->load->library("common/login_manage");
		$this->login_manage->redirect_url_check_login();
		$this->load->library("common/user_menu");
		$data['user_menu']=$this->user_menu->get_user_menu();
		$this->load->view("common/main",$data);

	}

	public function index1(){

		$this->load->library("common/login_manage");
		$this->login_manage->redirect_url_check_login();
		$this->load->library("common/user_menu");
		$data['user_menu']=$this->user_menu->get_user_menu();
		
		$data['title']="删除失败";
		$data['content']="你要删除的数据不存在";
		$data['back_url']="";
		$data['forward_url']="";
		$this->load->view("common/error_tip",$data);
		error_tip();
		
	}

}